-- GENERATED SPELL FOR [Prospector Khazgorm] --


function spell0_3392(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3392', 2330, 1)
end

function Sorts_3392(pUnit, Event)
local choix_sorts_3392 = math.random(0, 0)
if choix_sorts_3392 == 0 then
pUnit:RegisterEvent('spell0_3392', 1, 1)
end
end

function mob3392_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3392', math.random(1500, 3000), 1)
end

function mob3392_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3392_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3392_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3392, 1, 'mob3392_Action')
RegisterUnitEvent(3392, 2, 'mob3392_Leave')
RegisterUnitEvent(3392, 3, 'mob3392_Kill')
RegisterUnitEvent(3392, 4, 'mob3392_Die')
